local extension = Package:new("new_heg_kuo")
extension.extensionName = "new_heg_sp"
extension.game_modes_whitelist = {"zhonger_heg_mode","warlords_heg_mode","jin_heg_mode", "tang_heg_mode"}

Fk:loadTranslationTable{
  ["new_heg_kuo"] = "国战SP",
  ["SP_heg"] = "国战SP",

  ["heg_swap_deputy"] = "交换副将：双方交换对应副将。"..
  "交换副将后不会影响你的体力上限，也不会获得珠联璧合、阴阳鱼标记；"..
  "不会移除武将牌上的牌，如“屯田”等，也不会影响技能状态，比如限定技、每回合限一次、断肠、铁骑等。",
}

extension:loadSkillSkelsByPath("./packages/new_heg_sp/pkg/SPheg/skills")

local caoang = General:new(extension, "SP_heg__caoang", "wei", 4)
caoang:addCompanions("st_heg__dianwei")
caoang:addSkills{ "SP_heg__kangkai","SP_heg__xiaolian"}
caoang:addRelatedSkill("SP_heg__feiying")
Fk:loadTranslationTable{
  ["SP_heg__caoang"] = "曹昂",
  ["#SP_heg__caoang"] = "临危不乱",
  ["designer:SP_heg__caoang"] = "残月",
  ["illustrator:SP_heg__caoang"] = "Zero",

  ["~SP_heg__caoang"] = "典将军，还是你赢了……",
}

local guozhao = General:new(extension, "SP_heg__guozhao", "wei", 3, 3, General.Female)
guozhao:addCompanions("st_heg__caopi")
guozhao:addSkills { "SP_heg__pianchong", "SP_heg__qiaoen" }
Fk:loadTranslationTable{
  ["SP_heg__guozhao"] = "郭照",
  ["#SP_heg__guozhao"] = "碧海青天",
  ["designer:SP_heg__guozhao"] = "雪人学长",
  ["illustrator:SP_heg__guozhao"] = "君桓文化",

  ["~SP_heg__guozhao"] = "曹元仲，你为何害我？",
}

--[[General:new(extension, "SP_heg__liufeng", "shu", 4):addSkills{"SP_heg__xiansi"}
Fk:loadTranslationTable{
  ["SP_heg__liufeng"] = "刘封",
  ["#SP_heg__liufeng"] = "骑虎之殇",
  ["designer:SP_heg__liufeng"] = "幻念",
  ["illustrator:SP_heg__liufeng"] = "yellowkiss",

  ["~SP_heg__liufeng"] = "疏不间亲，我终究难被父亲接纳......",
}]]--

local xiahoushi = General:new(extension, "SP_heg__xiahoushi", "shu", 3, 3, General.Female)
xiahoushi:addCompanions("st_heg__zhangfei")
xiahoushi:addSkills { "SP_heg__qiaoyuan", "SP_heg__yanyu" }
Fk:loadTranslationTable{
  ["SP_heg__xiahoushi"] = "夏侯氏",
  ["#SP_heg__xiahoushi"] = "采缘撷睦",
  ["designer:SP_heg__xiahoushi"] = "胖",
  ["illustrator:SP_heg__xiahoushi"] = "白",

  ["~SP_heg__xiahoushi"] = "将军，为何还未归来......",
}

General:new(extension, "SP_heg__sunjun", "wu", 4):addSkills { "SP_heg__guzheng" }
Fk:loadTranslationTable{
  ["SP_heg__sunjun"] = "孙峻",
  ["#SP_heg__sunjun"] = "横逆自固",
  ["designer:SP_heg__sunjun"] = "风诵",

  ["~SP_heg__sunjun"] = "啊啊，诸葛恪！汝生时吾尚且不惧，更况死乎？",
}

General:new(extension, "SP_heg__sunxiu", "wu", 3):addSkills{"SP_heg__yanzhu","SP_heg__xingxue"}
Fk:loadTranslationTable{
  ["SP_heg__sunxiu"] = "孙休",
  ["#SP_heg__sunxiu"] = "弥殇的景君",
  ["designer:SP_heg__sunxiu"] = "madman",
  ["illustrator:SP_heg__sunxiu"] = "NOVART",

  ["~SP_heg__sunxiu"] = "崇文抑武，朕错了吗？",
}

local nanhualaoxian = General:new(extension, "SP_heg__nanhualaoxian", "qun", 4)
nanhualaoxian:addSkills{"SP_heg__jinghe","SP_heg__gongxiu"}
nanhualaoxian:addRelatedSkills{"yinbingn","huoqi","guizhu","xianshou","lundao","yanzhengn","guanyue","SP_heg__leiji"}
Fk:loadTranslationTable{
  ["SP_heg__nanhualaoxian"] = "南华老仙",
  ["#SP_heg__nanhualaoxian"] = "仙人指路",
  ["designer:SP_heg__nanhualaoxian"] = "韩旭",
  ["illustrator:SP_heg__nanhualaoxian"] = "君桓文化",

  ["$guizhu_SP_heg__nanhualaoxian"] = "其耆欲深者，其天机浅。",
  ["$xianshou_SP_heg__nanhualaoxian"] = "此经所书晦涩难明，吾偶有所悟，愿为君陈之。",
  ["$guanyue_SP_heg__nanhualaoxian"] = "高飞兮安翔，乘清气兮御阴阳。",
  ["$yinbingn_SP_heg__nanhualaoxian"] = "杀生者不死，生生者不生。",
  ["$lundao_SP_heg__nanhualaoxian"] = "以有穷之姿，通无穷之变。",
  ["$huoqi_SP_heg__nanhualaoxian"] = "广开兮天门，纷吾乘兮玄云。",
  ["$yanzhengn_SP_heg__nanhualaoxian"] = "大音希声，大象无形，天理难明，以经合之。",

  ["~SP_heg__nanhualaoxian"] = "道亦有穷时……",
}

local zhugedan = General:new(extension, "SP_heg__zhugedan", "wei", 4)
zhugedan.mainMaxHpAdjustedValue = -1
zhugedan:addSkills{"SP_heg__shiliang","SP_heg__xiejue","SP_heg__chonge"}
Fk:loadTranslationTable{
    ["SP_heg__zhugedan"] = "诸葛诞",
    ["#SP_heg__zhugedan"] = "景吼护国",
    ["designer:SP_heg__zhugedan"] = "雪人学长",
    ["illustrator:SP_heg__zhugedan"] = "凝聚永恒",

    ["~SP_heg__zhugedan"]= "某无愧于大魏，无愧于诸葛！",
}

General:new(extension, "SP_heg__guanping", "shu", 4):addSkills { "SP_heg__longyin" }
Fk:loadTranslationTable{
  ["SP_heg__guanping"] = "关平",
  ["#SP_heg__guanping"] = "忠臣孝子",
  ["designer:SP_heg__guanping"] = "大道之行",
  ["illustrator:SP_heg__guanping"] = "枭瞳",

  ["~SP_heg__guanping"] = "荆州已失守，还请父亲……暂退……",
}

local liyan = General:new(extension, "SP_heg__liyans", "shu", 4)
liyan:addSkills { "SP_heg__anming", "SP_heg__chizheng" }
liyan.mainMaxHpAdjustedValue = -1
Fk:loadTranslationTable{
  ["SP_heg__liyans"] = "李严",
  ["#SP_heg__liyans"] = "矜风流务",
  ["designer:SP_heg__liyans"] = "残月&雪人学长",
  ["illustrator:SP_heg__liyans"] = "sinno",

  ["~SP_heg__liyans"] = "只恨，一身才能，终不得用。",
}

local handang = General:new(extension, "SP_heg__handang", "wu", 4)
handang:addCompanions("st_heg__huanggai")
handang:addSkills{"SP_heg__gongqi", "SP_heg__jiefan"}
Fk:loadTranslationTable{
  ["SP_heg__handang"] = "韩当",
  ["#SP_heg__handang"] = "石城侯",
  ["designer:SP_heg__handang"] = "汤圆",

  ["~SP_heg__handang"] = "吾子难堪大用，主公勿以重任相托……",
}

General:new(extension, "SP_heg__gongsunzan", "qun", 4):addSkills{"SP_heg__qiaomeng","SP_heg__yicong"}
Fk:loadTranslationTable{
  ["SP_heg__gongsunzan"] = "公孙瓒",
  ["#SP_heg__gongsunzan"] = "白马义从",
  ["designer:SP_heg__gongsunzan"] = "madman",
  ["illustrator:SP_heg__gongsunzan"] = "官方",

  ["~SP_heg__gongsunzan"] = "称雄半生，岂可为他人俘虏，啊啊啊……",
}

local liru = General:new(extension, "SP_heg__liru", "qun", 3)
liru:addCompanions{ "shi_heg__dongzhuo"}
liru:addSkills { "juece", "SP_heg__mieji", "SP_heg__fencheng" }
Fk:loadTranslationTable{
  ["SP_heg__liru"] = "李儒",
  ["#SP_heg__liru"] = "魔仕",
  ["designer:SP_heg__liru"] = "淬毒",
  ["illustrator:SP_heg__liru"] = "木美人",

  ["~SP_heg__liru"] = "如遇明主，大业必成……",
}

return extension
